Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

Nudge Mode

The kQTVRInteractionNudgeMode property is used with the QTVRGetInteractionProperty (link) and QTVRSetInteractionProperty (link) functions and specifies the type of action to be taken by a nudge. You can use these constants to specify the nudge mode:

typedef enum QTVRNudgeMode {
    kQTVRNudgeRotate                                = 0UL,
    kQTVRNudgeTranslate                             = 1UL,
    kQTVRUNudgeSameAsMouse                          = 2UL
} QTVRNudgeMode;

Constant descriptions

kQTVRNudgeRotate
Set the nudge mode to rotate the object.
kQTVRNudgeTranslate
Set the nudge mode to translate the image.
kQTVRUNudgeSameAsMouse
Set the nudge mode to the same as the current mouse mode.

© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |